<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />


<link href="/static/style/main.css" rel="stylesheet" type="text/css" media="print" />
<!--
<link rel="stylesheet" type="text/css" href="/static/admin/css/base.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/forms.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/changelists.css" />
-->
<link rel="stylesheet" type="text/css" href="/static/style/main.css" />
<!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="/static/admin/css/ie.css" /><![endif]-->

<script type="text/javascript">window.__admin_media_prefix__ = "/static/admin/";</script>
<script type="text/javascript" src="/admin/jsi18n/"></script>
<script type="text/javascript" src="/static/admin/js/core.js"></script>
<script type="text/javascript" src="/static/admin/js/admin/RelatedObjectLookups.js"></script>
<script type="text/javascript" src="/static/admin/js/actions.min.js"></script>
<script type="text/javascript" src="/static/admin/js/calendar.js"></script>
<script type="text/javascript" src="/static/admin/js/admin/DateTimeShortcuts.js"></script>
<script type="text/javascript" src="/static/jquery-1.6.min.js"></script>
<script type="text/javascript" src="/static/js/highcharts.src.js"></script>
<script type="text/javascript" src="/static/js/modules/exporting.js"></script>

{% block head %} {% endblock head %}

<title>
{% block tittle %} {% endblock %}
</title>

<script type="text/javascript">
  $(function(){
  var keywordsString = "{{query}}";
  var keywords = keywordsString.split(/\s+/);
  $("td.highlightarea").each(function(){
  //alert($(this).html());
  for(var i = 0; i < keywords.length; i++)
		     {
		     var content = $(this).html();
		     var replacement = '<font class="highlight">'+keywords[i]+'</font>';
		     var reg = new RegExp(keywords[i],'g');
		     var str = content.replace(reg,replacement);
		     $(this).empty();
		     $(this).html(str);
		     }
		     });
		     $("a.highlightLink").each(function(){
		     //alert($(this).html());
  for(var i = 0; i < keywords.length; i++)
		     {
		     var content = $(this).html();
					var replacement = '<font class="highlight">'+keywords[i]+'</font>';
		     var reg = new RegExp(keywords[i],'g');
		     var str = content.replace(reg,replacement);
		     $(this).empty();
		     $(this).html(str);
		     }
		     });
		     
		     });
 </script>
</head>

<body>
  <div>
    <div align="right"><!--hearer-->
      <a href="/">首页</a>&nbsp;&nbsp;
      <a href="/introduce/">关于</a>&nbsp;&nbsp;
      <a href="http://github.com/vvsong/Jupiter" target="_blank">开源</a>&nbsp;&nbsp;
      <!-- <a href="/admin/">管理</a> -->
      </div>
    </div>

    {% block content %}{% endblock %}

    <div id="footer" align="center"><!--footer-->
      <br /><br /><br /><br /><br /><hr /><br />
      &copy;<a href="http://weibo.com/vvfriday" target="_blank">vvsong</a>&nbsp;&nbsp;
      Powered by <a href="http://www.python.org/" target="_blank">Python</a> & 
      <a href="http://www.djangoproject.com" target="_blank">Django</a>
      <br /><br /><br /><br /><br />
    </div>
  </div>
</body>
</html>
